package com.crayon.scoreboard.util;

import android.view.View;
import android.widget.TextView;

/**
 * Created by kafka on 15. 2. 17..
 */
public class UI {
    public static TextView BINDText(View layout,int nId,CharSequence msg){
        if(layout==null) return null;
        TextView textView = (TextView)layout.findViewById(nId);
        if(textView==null) return null;
        textView.setText(msg);
        return textView;
    }
}
